package com.konsung.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 类功能：软件配置返回解析对象
 */
@Entity
public class ConfigDto {

    /**
     * 配置类型
     */
    @Unique
    private String type;
    /**
     * 是否可用
     */
    private String isAvailable;
    /**
     * 更新版本号
     */
    private String version;
    /**
     * 预留字段
     */
    private String value;

    @Generated(hash = 1662882222)
    public ConfigDto(String type, String isAvailable, String version,
            String value) {
        this.type = type;
        this.isAvailable = isAvailable;
        this.version = version;
        this.value = value;
    }

    @Generated(hash = 1271166900)
    public ConfigDto() {
    }






    /**
     * 获取type的值
     *
     * @return type type值
     */
    public String getType() {
        return type;
    }

    /**
     * 设置type的值
     *
     * @param type type值
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取isAvailable的值
     *
     * @return isAvailable isAvailable值
     */
    public String getIsAvailable() {
        return isAvailable;
    }

    /**
     * 设置isAvailable的值
     *
     * @param isAvailable isAvailable值
     */
    public void setIsAvailable(String isAvailable) {
        this.isAvailable = isAvailable;
    }

    /**
     * 获取version的值
     *
     * @return version version值
     */
    public String getVersion() {
        return version;
    }

    /**
     * 设置version的值
     *
     * @param version version值
     */
    public void setVersion(String version) {
        this.version = version;
    }

    /**
     * 获取value的值
     *
     * @return value value值
     */
    public String getValue() {
        return value;
    }

    /**
     * 设置value的值
     *
     * @param value value值
     */
    public void setValue(String value) {
        this.value = value;
    }
}
